<template>
	<view class="mainpadding">
		<view class="xiahuaxian margin_top" v-for="item in dataAll" :key="item.id" @click="tzjbxx(item.id)">
			<view class="flexleft">
				<view class="touxiang margin_right3">
					<image :src="item.avatar_text" mode=""></image>
				</view>
				<view class="titletext xiaohei nofonweight">{{item.nickname}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				kc_id:"",
				kc_kcb_id:"",
				date:"",
				dataAll:[]
			}
		},
		onLoad(options) {
			let data = JSON.parse(decodeURIComponent(options.msg))
			this.kc_id = data.kc_id
			this.kc_kcb_id = data.kc_kcb_id
			this.date = data.date
			this.getDetail()
		},
		methods: {
			getDetail(){
				httpRequest.request("/api/user/xcKcJoinUser", 'GET', {
					kc_id:this.kc_id,
					kc_kcb_id:this.kc_kcb_id,
					date:this.date,
				}).then(res => {
					this.dataAll = res.data
				})
			},
			// 跳转人员基本信息
			tzjbxx(id) {
				uni.navigateTo({
					url: '/pages_xiaoshou/renyuanxx?id='+id
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.toumd {
		opacity: 0.5;
	}

	.xiahuaxian1 {
		border-bottom: 1rpx solid #F5F5F5;
	}

	.nerbox {
		padding: 38rpx 31rpx;
	}

	.wexbxo {
		background: #FFFFFF;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.youbk {
		border-right: 2rpx solid #F5F5F5;
	}

	.yxzbox {
		background: #1BA95B;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.lvbox {
		padding: 10rpx 20rpx;
		border-radius: 50rpx;
		color: #FFFFFF;
		font-size: 26rpx;
		margin: 30rpx 30rpx 0 0;
		background-color: #1ba95d;
	}

	.xiaolvbox {
		padding: 10rpx 20rpx;
		border-radius: 50rpx;
		color: #999;
		margin: 30rpx 30rpx 0 0;
		background-color: #effff6;
		font-size: 26rpx;
	}

	.huibox {
		padding: 10rpx 20rpx;
		border-radius: 50rpx;
		color: #999;
		margin: 30rpx 30rpx 0 0;
		background-color: #f7f7f7;
		font-size: 26rpx;
	}

	.shijbox {
		padding: 12rpx 30rpx;
		background: #1BA95B;
		font-size: 26rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
	}

	.chanbox {
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		border: 2rpx solid #1BA95B;
		// width: 260rpx;
	}

	.yixlbtn {
		padding: 10rpx 20rpx;
		font-size: 26rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
		background: #1BA95B;
		width: 40rpx;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
	}

	.wexzlbtn {
		padding: 10rpx 20rpx;
		font-size: 26rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #1BA95B;
		width: 40rpx;
		background: #EFFFF6;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
	}

	.huibtn {
		padding: 10rpx 20rpx;
		background: #F5F5F5;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		font-size: 26rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		width: 40rpx;
		color: #777777;
	}

	.weixzx {
		padding-bottom: 10rpx;
		// border-bottom: 6rpx solid #F5F5F5;
		// background: #1BA95B;
		border-radius: 6rpx 6rpx 6rpx 6rpx;
	}

	.zitixhx {
		padding-bottom: 10rpx;
		border-bottom: 6rpx solid #1BA95B;
		// background: #1BA95B;
		border-radius: 6rpx 6rpx 6rpx 6rpx;
	}

	.touxiang {
		width: 88rpx;
		height: 88rpx;
		border-radius: 50%;

		image {
			border-radius: 50%;
			width: 100%;
			height: 100%;
		}
	}
</style>